# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=communicator
pkgver=2.2.2
pkgrel=1
pkgdesc='Contacts and dialer application'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(GPL3)
depends=(mauikit-filebrowsing mauikit-texteditor hicolor-icon-theme kpeople kcontacts)
makedepends=(extra-cmake-modules qt5-location)
groups=(maui)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('e42b3b0ef604e1eb36dc4f85c6eb1d2e4e34116f9c93678aa3b72853a7e18709')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
